<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>共享文件</title>
    <style>
        img{
            height:200px;
        }
    </style>
</head>
<body>
<div>
    <table  class="pure-table">
        <thead>
        <tr >
            <th>文件</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>

        <tr>
            <!--<td><img th:src="'/shares/'+${info.filename}" th:alt="${info.filename}"></td>-->
            <td th:text="${filename}"></td>
            <td>
                <a th:href="@{/share/download(id=${info.id})}"><button>下载</button></a><br><br>
            </td>
        </tr>
        </tbody>

    </table>

</div>
</body>
</html>